<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>PhpFw</title>
		<link rel="stylesheet" href="<?= $css; ?>stylesheet.css" media="screen">
		<script type="text/javascript" src="<?= $js; ?>javascript.js"></script>
	</head>

	<body>
		<div id="message" style="display: <?= ($show) ? "block": "none"; ?>;" >
			<span><?= ($show) ? $message : ""; ?></span>
		</div>

		<table class="box" style="width: 800px;">
			<tr>
				<td class="title">
					Project | Marketingman Global Company Kft.
					<span>
						<?php
							switch($_SESSION["user"][5]){
								case 3:
									print "<a href=\"".$link."invitation\">Meghívó küldése</a>";
								case 2:
									print "<a href=\"".$link."\">Projektek</a>";
								case 1:
									print "<a href=\"".$link."profile\">Profil</a>";
									print "<a href=\"".$link."&logout=\">Kijelentkezés</a>";
									break;
							}
						?>
					</span>
				</td>
			</tr>
		</table>
		
		<?php require($page); ?>
	</body>
</html>